<p><?= $this->Html->link("&laquo; nazad", "/taxes", array( 'escape' => false ))?></p>
<?= $this->Form->create('Tax', array('url' => '/taxes/save')) ?>

    <?= $this->Form->hidden('id', array( 'value' => (int)@$data['Tax']['id'])) ?>

    <p><?= $this->Form->label('name', 'Naziv:') ?>
    <?= $this->Form->text('name', array( 'value' => @$data['Tax']['name'])) ?>
    <?= $this->App->formError('name') ?></p>
    
    <p><?= $this->Form->label('value', 'Vrednost:') ?>
    <?= $this->Form->text('value', array( 'value' => @$data['Tax']['value'], 'class'=>'number')) ?>%
    <?= $this->App->formError('value') ?></p>
    
    <p><?= $this->Form->label('effective_date', 'Od datuma:') ?>
    <?= $this->Form->text('effective_date', array( 'value' => @$data['Tax']['effective_date'], 'class'=>'datepicker')) ?>
    <?= $this->App->formError('effective_date') ?></p>
    
    <?= $this->Form->button('Sačuvaj') ?>
<?= $this->Form->end() ?>
